#include "CameraController.hpp"
#include "m3g/m3g.hpp"
#include "Exception.hpp"
using namespace m3g;
using namespace m3g_viewer;

/**
 * (*1) m3gのカメラをセットしなくてもこのコントローラーは有効（使用可能）
 */
CameraController:: CameraController () : camera(0), pos(0,0), lookat(0,0)
{
}


CameraController:: ~CameraController ()
{
}

void CameraController:: set_camera (m3g::Camera* cam)
{
    if (cam == NULL) {
        throw Exception(__FILE__, __func__, "Camera is NULL.");
    }

}


void CameraController:: move_forward ()
{
}

void CameraController:: move_back ()
{
}

void CameraController:: move_right ()
{
}

void CameraController:: move_left ()
{
}

void CameraController:: move_up ()
{
}

void CameraController:: move_down ()
{
}

void CameraController:: turn_right ()
{
}

void CameraController:: turn_left ()
{
}

void CameraController:: turn_up ()
{
}

void CameraController:: turn_down ()
{
}


void CameraController:: get_camera_pos (float* pos) const
{

}

 
void CameraController:: get_camera_lookat (float* lookat) const
{

}

void CameraController:: get_camera_up (float* up) const
{

}
